const webpack = require('webpack')

module.exports = {
  devServer: {
    proxy: {
      '/': {
        // target: 'http://192.168.10.145:9527',
        // target: 'http://192.168.10.47:9527',
        // target: 'http://119.23.8.252:81/api',
        // target: 'http://119.23.8.252:9527',
        target: 'http://192.168.10.111:9527',
        // target: 'http://101.37.205.208:9527',
        // target: 'http://yyn.free.idcfengye.com',
        // target: 'http://hxy.free.idcfengye.com/',
        ws: true,
        changeOrigin: true,
      },
    },
    disableHostCheck: true,
  },
};
